package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.domain.business.BusinessListDO;
import com.qk.dto.business.BusinessListDTO;
import com.qk.dto.business.BusinessPoolDTO;
import com.qk.dto.business.BusinessUpdateDTO;
import com.qk.entity.Business;
import com.qk.vo.business.BusinessVO;

public interface BusinessService extends IService<Business> {
    PageResult<BusinessListDO> listBusinesses(BusinessListDTO dto);

    void addBusiness(Business business);

    void allocationBusiness(Integer businessId, Integer userId);

    BusinessVO getBusinessById(Integer id);

    void updateBusinessInfoById(BusinessUpdateDTO dto);

    void toCustomer(Integer id);

    PageResult<Business> businessPool(BusinessPoolDTO dto);
}
